package com.qinggeng.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qinggeng.framework.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * @author 吴鹏飞
 * @date 2020/10/29
 * 用户捶一捶记录对象
 */
@Data
public class UserBeat extends BaseEntity {
    //用户捶一捶记录id
    private Long id;
    //用户id
    private Long userId;
    //订单id
    private Long ordersId;
    //商品id
    private Long goodsId;
    //商品名称
    private String goodsName;
    //商品主图
    private String goodsImg;
    //所需捶数
    private Integer beatSum;
    //是否捶成 1=ok 0=no
    private String beatInto;
    //是否领取
    private String receive;
    //过期时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beatOutTime;
    //领取时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date receiveTime;
}
